package com.wwmz.inter.segregation.simple;

/**
 * Created by wumz on 2020/9/14 12:35
 */
public class IDog implements IAnimal {

    @Override
    public void eat() {
        System.out.println("吃");
    }

    @Override
    public void fly() {
        System.out.println("飞");
    }

    @Override
    public void swim() {
        System.out.println("游泳");
    }
}
